import 'package:flutter_project/tool/theme/app_theme.dart';
import 'package:flutter_project/tool/theme/theme_data_config.dart';
import 'package:get/route_manager.dart';

class AppManager {
  static final AppManager _shared = AppManager._internal();
  AppManager._internal();

  factory AppManager() {
    return _shared;
  }
  // 主题管理
  final AppTheme appTheme = AppTheme();

  /// 初始化配置
  Future<void> setup() async {
    appTheme.config(ThemeConfig.lightTheme, ThemeConfig.darkTheme);
  }
}
